//---------------------------------------------------------------------------

#ifndef DMCtrSociaisH
#define DMCtrSociaisH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "PHTable.h"
//---------------------------------------------------------------------------
class TDMCtrSociais1 : public TDataModule
{
__published:	// IDE-managed Components
 PHTable *TBModCtrSociais;
 PHTable *TBEnderecosCtrSoc;
 PHTable *TBFiliais;
 PHTable *TBIntegr;
 PHTable *TBContratoSocial;
 PHTable *TBSocAdmistradores;
 void __fastcall TBSocAdmistradoresAfterOpen(TObject *Sender);
 void __fastcall TBContratoSocialAfterOpen(TObject *Sender);
 void __fastcall TBModCtrSociaisAfterOpen(TObject *Sender);
 void __fastcall TBEnderecosCtrSocAfterOpen(TObject *Sender);
 void __fastcall TBFiliaisAfterOpen(TObject *Sender);
 void __fastcall TBIntegrAfterOpen(TObject *Sender);
        void __fastcall TBContratoSocialTotalQuotas2GetGT(int Elemento,
          AnsiString &Resultado, PHDataSource *DS);
        void __fastcall TBIntegrQuantidadeQuotas6GetGT(int Elemento,
          AnsiString &Resultado, PHDataSource *DS);
        void __fastcall TBContratoSocialTotalQuotas2Validate(int Elemento,
          Variant &Conteudo, PHDataSource *DS);
        void __fastcall TBIntegrQuantidadeQuotas6Validate(int Elemento,
          Variant &Conteudo, PHDataSource *DS);
private:	// User declarations
public:		// User declarations
 __fastcall TDMCtrSociais1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TDMCtrSociais1 *DMCtrSociais1;
//---------------------------------------------------------------------------
#endif
